package web.banco;


public interface DatabaseInterface {

	public static enum APPROVAL_STATUS {APPROVED, DENIED, ON_GOING, NOT_REGISTERED};
	
	public int insertInto(APPROVAL_STATUS status, String client, String securityKey) throws Exception;

	public void update(int id, APPROVAL_STATUS status) throws Exception;
	
	public APPROVAL_STATUS selectFrom(int id) throws Exception;
	
}
